package a.f.g.a;

import java.util.List;

abstract class m
  implements fb
{
  public void a(d paramd)
  {
    c(paramd);
    b(paramd);
  }
  
  protected void b(d paramd) {}
  
  protected void c(d paramd)
  {
    boolean bool = xb.r;
    int j = xb.q;
    List localList = paramd.u();
    int i = 0;
    do
    {
      if (i >= localList.size()) {
        break;
      }
      fb localfb = (fb)localList.get(i);
      if (!bool)
      {
        if (localfb.getClass() == getClass()) {
          throw new IllegalStateException("This feature has already been added: " + getClass().getName());
        }
        i++;
      }
    } while (j == 0);
  }
  
  protected void a(d paramd, Class paramClass)
  {
    boolean bool = xb.r;
    int j = xb.q;
    List localList = paramd.u();
    int i = 0;
    if (i < localList.size()) {}
    while (bool)
    {
      fb localfb = (fb)localList.get(i);
      if (!bool)
      {
        if (localfb.getClass() == paramClass) {
          return;
        }
        i++;
      }
      if (j == 0) {
        break;
      }
    }
    throw new IllegalStateException("The feature " + paramClass.getName() + " must be added to the layouter before adding " + getClass().getName());
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.g.a.m
 * JD-Core Version:    0.7.0.1
 */